<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
      <meta charset="utf-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
	<meta content="" name="description" />
    <meta content="webthemez" name="author" />
    <title>Bootstrap Admin html Template</title>
	<!-- Bootstrap Styles-->
    <link href="__PUBLIC__static/admin/assets/css/bootstrap.css" rel="stylesheet" />
     <!-- FontAwesome Styles-->
    <link href="__PUBLIC__static/admin/assets/css/font-awesome.css" rel="stylesheet" />
     <!-- Morris Chart Styles-->

        <!-- Custom Styles-->
    <link href="__PUBLIC__static/admin/assets/css/custom-styles.css" rel="stylesheet" />
     <!-- Google Fonts-->
   <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css' />
     <!-- TABLE STYLES-->
    <link href="__PUBLIC__static/admin/assets/js/dataTables/dataTables.bootstrap.css" rel="stylesheet" />

</head>
<body>
    <div id="wrapper">
        {include file="layout/top" / }
        <!--/. NAV TOP  -->
      {include file="layout/left" / }
        <!-- /. NAV SIDE  -->
        <div id="page-wrapper" >
		  <div class="header">
                        <h1 class="page-header">
                            用 户 <small>列 表</small>
                        </h1>
						<ol class="breadcrumb">
					  <li><a href="{:url('admin/ht/index')}">Home</a></li>
					  <li>用户列表</li>

					</ol>

		</div>

            <div id="page-inner">


                <!-- /. ROW  -->
            <div class="row">
                <div class="col-md-12">
                  <!--   Kitchen Sink -->
                    <div class="panel panel-default">

      <div class="row">


        </div>

                        <div class="panel-body">
                            <div class="table-responsive">
                                <table class="table table-striped table-bordered table-hover">
                                    <thead>
                                        <tr>
                                            <th style=" text-align: center;line-height:20px">用户名称</th>
                                            <th style=" text-align: center;line-height:20px">用户头像</th>
                                            <th style=" text-align: center;line-height:20px">用户OpenId</th>
                                            <th style=" text-align: center;line-height:20px">地区</th>
                                            <th style=" text-align: center;line-height:20px">性别</th>
                                            <th style=" text-align: center;line-height:20px">创建时间</th>

                                        </tr>
                                    </thead>
                                    <tbody>
                                       {volist name="data" id="data"}

                                        <tr class="odd gradeX">
                                            <td style=" text-align: center;line-height:100px">{$data.nickname}</td>
                                            <td style=" text-align: center;line-height:100px"> <img style="width:100px;height:80px" src="{$data.headimgurl}" alt=""> </td>
                                            <td style=" text-align: center;line-height:100px">{$data.openid}</td>
                                            <td style=" text-align: center;line-height:100px">{$data.province}</td>


                                            <td style=" text-align: center;line-height:100px">

                                               {switch name="$data.sex"}
                                              {case value="1"}男{/case}
                                              {case value="2"}女{/case}
                                              {case value="0"}未知{/case}
                                            {/switch}
                                            </td>
                                            <td style=" text-align: center;line-height:100px">

                                              <?php
                                                  $time = date('Y-m-d H:i:s',$data['create_time']);

                                                  echo $time;
                                              ?>



                                            </td>



                                        </tr>
                                    {/volist}
                                    </tbody>


                                </table>
                                 {$page}
                            </div>
                        </div>
                    </div>
                     <!-- End  Kitchen Sink -->
                </div>

            </div>


        </div>

    </div>
             <!-- /. PAGE INNER  -->
            </div>
         <!-- /. PAGE WRAPPER  -->
     <!-- /. WRAPPER  -->
    <!-- JS Scripts-->
    <!-- jQuery Js -->
    <script src="__PUBLIC__static/admin/assets/js/jquery-1.10.2.js"></script>
      <!-- Bootstrap Js -->
    <script src="__PUBLIC__static/admin/assets/js/bootstrap.min.js"></script>
    <!-- Metis Menu Js -->
    <script src="__PUBLIC__static/admin/assets/js/jquery.metisMenu.js"></script>
     <!-- DATA TABLE SCRIPTS -->
    <script src="__PUBLIC__static/admin/assets/js/dataTables/jquery.dataTables.js"></script>
    <script src="__PUBLIC__static/admin/assets/js/dataTables/dataTables.bootstrap.js"></script>
        <script>
            $(document).ready(function () {
                $('#dataTables-example').dataTable();
            });
    </script>
         <!-- Custom Js -->
    <script src="__PUBLIC__static/admin/assets/js/custom-scripts.js"></script>


</body>
</html>
